package com.tiger.cloud.model.sms;

import io.swagger.annotations.ApiModelProperty;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.cloud.common.mybatis.TigerBaseEntity;
/**
 * 
 * sms_group_users-用户聊天组
 *
 */
public class SmsGroupUsers extends TigerBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    private Long userId;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    private Long groupId;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")   
   	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
    private java.sql.Timestamp createTime;
    
    public SmsGroupUsers(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getGroupId() {
        return this.groupId;
    }
    
    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }
    public java.sql.Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(java.sql.Timestamp createTime) {
        this.createTime = createTime;
    }
    
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}